package com.zmc.common.enums;

import lombok.Getter;

/**
 * @Author：zmc
 * @Date：2024/10/18 15:08
 *
 */

@Getter
public enum CommonCodeEnum {

    //类目是否为叶子节点
    CATEGORY_IS_LEAF(1, "是叶子节点"),
    CATEGORY_IS_NOT_LEAF(0, "不是叶子节点"),

    ;
    final int code;

    final String msg;

    CommonCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
